<div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
    <h4 class="modal-title" id="ntModalLabel">日记账-2019年清单</h4>
</div>
<div class="modal-body">
    <div class="row clearfix">
        <div class="col-md-12">
            <table class="table table-striped">
                <tbody>
                <tr>
                    <td>{:lang('account_subject')}</td>
                    <td>{$name|default=''}</td>
                </tr>
                <tr>
                    <td>{:lang('inventory')}</td>
                    <td>
                        <table class="table table-striped table-hover ntTable">
                            <tbody>
                            {volist name="data" id="vo"}
                            <tr>
                                <td align="center">{$vo.happen_year}</td>
                                <td class="text-right"><span class="{$color}">{$sign|default=''}{$vo.amount}</span> <span class="unit">CNY</span>
                                </td>
                                <td class="text-right">
                                    <a ></a>
                                        <a href="{:url('/admin/api/journalmonthyear',['account_id'=>$vo.account_id,'happen_day'=>$vo.happen_day,'month'=>'1'])}" class='btn btn-sm btn-primary'
                                           data-toggle="modal"
                                           data-target="#month_detailModal"><span class="fa fa-search-plus"></span> {:lang('details')}</a>
                                </td>
                            </tr>
                            {/volist}
                            </tbody>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td>{:lang('total')}</td>
                    <td class="text-right"><span class="{$color}">{$summoney|default=''}</span> <span class="unit">CNY</span>
                    </td>
                </tr>
                </tbody>
            </table>
        </div>
    </div>
</div>
<div class="modal-footer">
    <button type="button" class="btn btn-default" data-dismiss="modal"><span
            class="glyphicon glyphicon-remove"></span>{:lang('close')}
    </button>
</div>